package com.hui.security.sys.exception;

import lombok.Getter;

/**
 * <b><code>UserException</code></b>
 * <p/>
 * Description:
 * <p/>
 * <b>Creation Time:</b> 2019/1/6 2:36.
 *
 * @author HuWeihui
 */
@Getter
public class UserException extends HSecurityException {

    private static final long serialVersionUID = 4037543008361591763L;

    public UserException(String message) {
        super(message);
    }

    public UserException(String code, String message) {
        super(code, message);
    }

    public UserException(ExceptionEnum exceptionEnum) {
        super(exceptionEnum);
    }

    public UserException(String code, String message, Throwable cause) {
        super(code, message, cause);
    }

    public UserException(ExceptionEnum exceptionEnum, Throwable cause) {
        super(exceptionEnum, cause);
    }
}
